package actions;

import game.constants.ReferenceAction;
import interfaces.ActionInterface;
import interfaces.impl.Action;
import universe.Universe;

public class ActionDie extends Action{

	@Override
	public ActionInterface cloneAction() {
		ActionDie action = new ActionDie();
		action.modifyAction(this);
		return action;
	}

	@Override
	public boolean processActionChild(Universe universe) {
		
		universe.removeObject(target);
		
		return true;
	}

	@Override
	public void initializeName() {
		name="Action Die";
		
	}

	@Override
	public void initializeId() {
		this.id=ReferenceAction.ACTION_DIE;
		
	}

	@Override
	public void modifyChild(ActionInterface action) {
		// TODO Auto-generated method stub
		
	}
	
	

}
